﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NPSoft.Ferrero.DataBridge.DAL;
using NPSoft.Ferrero.DataBridge.Model;
using NPSoft.Ferrero.Framework.BLL;
using NPSoft.Ferrero.Framework.Crosscutting;

namespace NPSoft.Ferrero.DataBridge.BLL
{
    public class GeographyService : IBLL<Geography>
    {
        public string Add(Geography info)
        {
            throw new NotImplementedException();
        }

        public string Edit(Geography info)
        {
            throw new NotImplementedException();
        }

        public Geography GetById(long id)
        {
            throw new NotImplementedException();
        }

        public Geography GetById(Guid id)
        {
            throw new NotImplementedException();
        }

        public string Remove(Geography info)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="condtion"></param>
        /// <returns></returns>
        [UserLog]
        public ICollection<Geography> Search(StringBuilder condtion)
        {
            GeographyUtil util = new GeographyUtil();
            return util.SearchCollection(condtion);
        }
    }
}
